package com.beimin.evedata.model.ram;

import javax.persistence.AttributeOverride;
import javax.persistence.AttributeOverrides;
import javax.persistence.Column;
import javax.persistence.EmbeddedId;
import javax.persistence.Entity;
import javax.persistence.Table;


@Entity
@org.hibernate.annotations.Entity(mutable = false)
@Table(name = "typeActivityMaterials")
public class TypeActivityMaterial {
	@EmbeddedId
	@AttributeOverrides( { @AttributeOverride(name = "typeID", column = @Column(name = "typeID", nullable = false)),
			@AttributeOverride(name = "activityID", column = @Column(name = "activityID", nullable = false)),
			@AttributeOverride(name = "requiredType", column = @Column(name = "requiredTypeID", nullable = false)) })
	private TypeActivityMaterialID id;
	private int quantity;
	private int damagePerJob;
	private int recycle;

	public TypeActivityMaterialID getId() {
		return id;
	}

	public void setId(TypeActivityMaterialID id) {
		this.id = id;
	}

	public int getQuantity() {
		return quantity;
	}

	public void setQuantity(int quantity) {
		this.quantity = quantity;
	}

	public int getDamagePerJob() {
		return damagePerJob;
	}

	public void setDamagePerJob(int damagePerJob) {
		this.damagePerJob = damagePerJob;
	}

	public int getRecycle() {
		return recycle;
	}

	public void setRecycle(int recycle) {
		this.recycle = recycle;
	}
}